﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    [Table("Xj002")]
    public class EntityRegform : EntityBase
    {
        [ForeignKey("Xj01")]//外键关联基础表
        /// <summary>
        /// 姓名
        /// </summary>
        public EntityUser? Users { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        [ForeignKey("Xj02")]
        public EntityUser? Sex { get; set; }


        /// <summary>
        /// 手机号
        /// </summary>
        [Column("Xj03")]
        public bool Pyone { get; set; }

        /// <summary>
        /// 报名人专业
        /// </summary>
        [Column("Xj02")]
        public string? MajorName { get; set; }

        /// <summary>
        ///住址 
        /// </summary>
        [Column("Xj06")]
        public string? address { get; set; }
    }
}
